<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{$lang.home}{if $ur_here} - {$ur_here} {/if}</title>
<meta name="Copyright" content="Douco Design." />
<link href="templates/public.css" rel="stylesheet" type="text/css">
{include file="javascript.htm"}
<script type="text/javascript" src="images/jquery.autotextarea.js"></script>
</head>
<body>
<div id="dcWrap">
 {include file="header.htm"}
 <div id="dcLeft">{include file="menu.htm"}</div>
 <div id="dcMain">
   {include file="ur_here.htm"}
   <div id="order_detail" class="mainBox" style="{$workspace.height}">
    <h3><a href="{$action_link.href}" class="actionBtn">{$action_link.text}</a>{$ur_here}</h3>
    
      <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
        <tbody><tr>
            <th width="12%">订单号</th>
            <td width="38%">{$order.info.order_no}</td>
            <th width="12%">用户</th>
            <td>15917410243<font class="c888 ml5">[]</font></td>
          </tr>
          <tr>
            <th>订单总额</th>
            <td><b class="red">{$order.info.total_price}</b> 元 <font class="c666 ml10">(含运费)</font></td>
            <th>下单日期</th>
            <td>{$order.info.add_time|date_format:'%Y-%m-%d %H:%M:%S'}</td>
          </tr>
          <!--
          <tr>
            <th>运费</th>
            <td>0.00 元</td>
            <th>支付方式</th>
            <td>支付宝</td>
          </tr>
          <tr>
            <th>付款时间</th>
            <td><font class="caaa">无</font></td>
            <th>第三方流水号</th>
            <td><font class="caaa">无</font></td>
          </tr>
          -->
          <tr>
            <th>订单状态</th>
            <td><b class="red">{$lang.order_state_name[$order.info.state]}</b></td>
            <th>支付状态</th>
            <td>{$lang.order_paystate_name[$order.info.paystate]}</td>
          </tr>
          
          <tr>
            <th>收货人信息</th>
            <td>
              <div class="module" id="order-consignee">
                <p>{$order.info.consignee}<font class="c555 ml10">(<b>{$order.info.mobile}</b>)</font></p>
                <p class="mt5">{$order.region.province} {$order.region.city} {$order.region.area} {$order.info.address}</p>
              </div>
            </td>
            <th>下单备注</th>
            <td><p class="caaa">无</p></td>
          </tr>
          </tbody>
        </table>

        <div class="filter"></div>

        <table class="tableBasic" width="100%" cellspacing="0" cellpadding="8" border="0">
          <tbody>
          <tr>
              <th width="22" align="center"><input name="chkall" id="chkall" onclick="selectcheckbox(this.form)" value="check" type="checkbox"></th>
              <th width="30" align="center">编号</th>
              <th align="center">预定日期</th>
              <th align="center">午餐时间</th>
              <th align="center">午餐数量</th>
              <th align="center">午餐状态</th>
              <th align="center">晚餐时间</th>
              <th align="center">晚餐数量</th>
              <th align="center">晚餐状态</th>
              <th align="center">操作</th>
            </tr>
            {foreach from=$order.booking item=booking}
            <tr {if $today == $booking.bookdate}style="background-color:#99D6FF"{/if}>
              <td align="center"><input name="checkbox[]" value="10" type="checkbox"></td>
              <td align="center">{$booking.id}</td>
              <td align="center">{$booking.bookdate}</td>
              <td align="center">{$booking.noon}</td>
              <td align="center">{$booking.noon_num}</td>
              <td width="120" align="center">
              {$lang.bookstate_or[$booking.noon_state]}
              {if $booking.noon_state == '0'}
              [<a href="order.php?rec=action&action=noon_state&id={$booking.id}&order_no={$booking.order_no}"><font color="green">点击发货</font></a>]
              {/if}
              </td>
              <td align="center">{$booking.night}</td>
              <td align="center">{$booking.night_num}</td>
              <td width="120" align="center">
              {$lang.bookstate_or[$booking.night_state]}
              {if $booking.night_state == '0'}
              [<a href="order.php?rec=action&action=night_state&id={$booking.id}&order_no={$booking.order_no}"><font color="green">点击发货</font></a>]
              {/if}
              </td>
              <td align="center"><a href="order.php?rec=detail&order_no={$booking.order_no}">订单明细</a> </td>
            </tr>
            {/foreach}
          </tbody>
        </table>

   </div>
 </div>
 {include file="footer.htm"}
 </div>
</body>
</html>